package work.mediway.mdm.biz.dto.patient;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 患者查询字段
 *
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2020/12/16
 */
@ApiModel("患者查询字段")
@Data
public class PatientDTO {

    @ApiModelProperty("业务域Code")
    private String businessFieldCode;

    @ApiModelProperty("患者姓名")
    private String patPatientName;

    @ApiModelProperty("患者性别")
    private String patSexCode;

    @ApiModelProperty("患者出生日期")
    private String patBirthDate;

    @ApiModelProperty("患者身份证号")
    private String patPatientCardNo;

    @ApiModelProperty("患者电话号码")
    private String patPhone;

    @ApiModelProperty("患者平台Id(多个之间使用|分隔)")
    private String patPatientId;

    @ApiModelProperty("患者院内Id(多个之间使用|分隔)")
    private String hosPatientId;

    @ApiModelProperty(hidden = true)
    private List<String> patPatientIds;

    @ApiModelProperty(hidden = true)
    private List<String> hosPatientIds;

    @ApiModelProperty("院区代码")
    private String hosCode;

    @ApiModelProperty("操作日期")
    private String opsDate;

    public void clear() {
        this.setBusinessFieldCode(null);
        this.setHosCode(null);
        this.setHosPatientId(null);
        this.setHosPatientIds(null);
        this.setOpsDate(null);
        this.setPatBirthDate(null);
        this.setPatPatientCardNo(null);
        this.setPatPatientId(null);
        this.setPatPatientIds(null);
        this.setPatPatientName(null);
        this.setPatSexCode(null);
    }

}
